<div class="outstandingTasks form">
<?php echo $this->Form->create('OutstandingTask');?>
	<fieldset>
 		<legend><?php __('Add Pending Task'); ?></legend>
	<?php
		if($this->params['pass']==null){
		echo $this->Form->input('client_id');}
                else {
                    echo $this->Form->hidden('client_id', array('value' => $this->params['pass']['0']));}
		echo $this->Form->input('user_id');
		echo $this->Form->input('tasks', array('rows' => '5', 'cols' => '10'));
		echo $this->Form->input('done');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
<div class="right"><?php echo $this->Html->link(__('Back', true), array('action' => 'index'));?></div>

</div>